package com.tg.sieve_data.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * (TgIssue)实体类
 *
 * @author wangzhenya
 * @since 2025-10-14 13:52:07
 */
@Data
public class TgIssue implements Serializable {
    private static final long serialVersionUID = 309711074230075522L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String tgLink;
    private Integer channelId;
    @TableField(exist = false)
    private String channelName;
    private Integer isDisplay;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createAt;

    @TableField(exist = false)
    private String region;
    @TableField(exist = false)
    private String countryName;
}

